namespace CubicFWNet.Data.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class stringType : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.LogInLog", "IPAddress", c => c.String(maxLength: 50, unicode: false));
            AlterColumn("dbo.LogInLog", "IPAddressName", c => c.String(maxLength: 100, unicode: false));
            AlterColumn("dbo.Module", "IconName", c => c.String(maxLength: 256, unicode: false));
            AlterColumn("dbo.OperatorLog", "ModuleUrl", c => c.String(maxLength: 128, unicode: false));
            AlterColumn("dbo.OperatorLog", "Status", c => c.String(maxLength: 16, unicode: false));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.OperatorLog", "Status", c => c.String(maxLength: 128));
            AlterColumn("dbo.OperatorLog", "ModuleUrl", c => c.String(maxLength: 128));
            AlterColumn("dbo.Module", "IconName", c => c.String(maxLength: 256));
            AlterColumn("dbo.LogInLog", "IPAddressName", c => c.String(maxLength: 100));
            AlterColumn("dbo.LogInLog", "IPAddress", c => c.String(maxLength: 50));
        }
    }
}
